<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html"%>
    <script type="text/javascript" src="${ctx}/appjs/tenant/org/org.js"></script>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function(i,origText){
        return '<br><h3>组织管理</h3>' +
            '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>系统管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>组织管理</strong>' +
            '</li>' +
            '</ol>';
    });

    var has_add = '';
    var has_edit = '';
    var has_delete = '';
</script>


<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
                    <div class="fixed-table-toolbar">
                        <div class="columns pull-left">
                            <shiro:hasPermission name="system:org:add">
                            <button type="button" class="btn btn-success" onclick="org.add(0)">
                                <i class="fa fa-plus" aria-hidden="true"></i>增加
                            </button>
                            </shiro:hasPermission>
                        </div>
                        <div class="columns pull-right">
                            <button class="btn btn-success" onclick="org.reLoad()">查询</button>
                        </div>

                        <%--<div class="columns pull-right col-md-2">--%>
                            <%--<input id="orgName" type="text" class="form-control"--%>
                                   <%--placeholder="组织名称">--%>
                        <%--</div>--%>
                    </div>

					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>
    <script type="text/javascript">
        org.init();
    </script>
</body>
</html>